# coding = utf-8

source_string = input()

# 请在下面添加代码
###### Begin ######
print(source_string.find('day'))
a = source_string.replace('day', 'time')
print(a)

print(a.split(' '))

####### End #######

